package com.jymj.service.impl;

import com.jymj.dao.ApplyChildFileDao;
import com.jymj.entity.zjd.ApplyChildFileEty;
import com.jymj.service.ApplyChildFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ljj on 2018/9/17.
 */
@Service
public class ApplyChildFileServiceImpl implements ApplyChildFileService {
    @Autowired
    private ApplyChildFileDao applyChildFileDaoDao;

    @Override
    public void save(ApplyChildFileEty applyChildFileEntity) {
        applyChildFileDaoDao.save(applyChildFileEntity);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        applyChildFileDaoDao.deleteBatch(ids);
    }

    @Override
    public List<ApplyChildFileEty> getqueryList(Integer applyId) {
        return applyChildFileDaoDao.queryList(applyId);
    }

    @Override
    public ApplyChildFileEty queryObject(Integer id) {
        return applyChildFileDaoDao.queryObject(id);
    }
}
